package com.ruoyi.erecord.samplebox.service;

import java.util.Collection;
import java.util.List;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.erecord.samplebox.domain.bo.SampleboxImportDetailBo;
import com.ruoyi.erecord.samplebox.domain.vo.SampleboxImportDetailVo;

/**
 * 导入明细Service接口
 *
 * @author cc
 * @date 2023-04-22
 */
public interface ISampleboxImportDetailService {

    /**
     * 查询导入明细
     */
    SampleboxImportDetailVo queryById(Long id);

    /**
     * 查询导入明细列表
     */
    TableDataInfo<SampleboxImportDetailVo> queryPageList(SampleboxImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询导入明细列表
     */
    List<SampleboxImportDetailVo> queryList(SampleboxImportDetailBo bo);

    /**
     * 新增导入明细
     */
    Boolean insertByBo(SampleboxImportDetailBo bo);

    /**
     * 修改导入明细
     */
    Boolean updateByBo(SampleboxImportDetailBo bo);

    /**
     * 校验并批量删除导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
    
    boolean batchInsertBo(List<SampleboxImportDetailVo> voList);
}
